public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
//        mySingleList.createList();
        mySingleList.addLast(12);
        mySingleList.addLast(23);
        mySingleList.addLast(34);
        mySingleList.addLast(45);
        System.out.println("====");
        System.out.println("打印链表");
        mySingleList.display();
        System.out.println();
        System.out.println("==========");
        int count = mySingleList.size();
        System.out.println("当前链表有"+ count +"个结点" );
    }
}
